package com.yyaccp.appinfo.mapper;

import com.sun.xml.internal.bind.v2.schemagen.xmlschema.Appinfo;
import com.yyaccp.appinfo.domain.AppInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AppInfo record);

    AppInfo selectByPrimaryKey(Long id);

    List<AppInfo> selectAll();

    int updateByPrimaryKey(AppInfo record);

    int getCount(@Param("appInfo") AppInfo appInfo);

    List<Appinfo> search(@Param("appInfo") AppInfo appInfo,
                         @Param("from") int from, @Param("pageSize") int pageSize);
}